﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Derbster.Peer
{
    [Serializable]
    public class PeerMessage
    {
        public static readonly string Hello = "Hello";
        public static readonly string Welcome = "Welcome";
        public static readonly string Update = "Update";
        
        public string MessageKind { get; set; }
        public string Payload { get; set; }
        public string PeerId { get; set; }
        public DateTime TimeStamp { get; set; }
        public string VectorClock { get; set; }
    }
}
